<!--register Form-->


<form id="changepassword" method="post" action="<?php echo site_url('home/change_user_password')?>">
    
    <table border=0 align="center">
        <tr>
            <td width="30%">Old password :</td>
            <td width="20%"><input type="password" name="oldpassword"/></td>
            <td width="50%"><?php echo form_error('oldpassword'); ?></td>

        </tr>
        <tr>
            <td width="30%">New password :
           <td width="20%"><input type="password" name="newpassword"/></td>
            <td width="50%"><?php echo form_error('newpassword'); ?></td>
        </tr>
        <tr>
            <td width="30%">Confirm password :
           <td width="20%"><input type="password" name="confirmpassword"/></td>
            <td width="50%"><?php echo form_error('confirmpassword'); ?></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input name="changePass" id="changePass" type="submit" value="Change Password"/><br/><br/>
            </td>
        </tr>
     </table>              
</form>
